<%@ page language="java" contentType="text/html; charset=utf-8"
         pageEncoding="utf-8"%>
<%@ include file="../common/header.jsp" %>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <m:require src="jquery,noty,ev,font,bootstrap,common,kt,{{xlink/manage_device}}"></m:require>
    <title>设备管理</title>
</head>
<body>
<div id="top">
    <div id="logo"><span>Xlink</span></div>
    <div id="userInfo">
        <ul>
            <li><div id="head"></div><a href="#"><%=session.getAttribute("userName")%></a></li>
            <li><a href="#">我的消息</a></li>
            <li><a href="index.html">返回首页</a></li>
            <li><a href="#" id="loginOut">退出</a></li>
        </ul>
    </div>
</div>
<div id="first">
    <ul>
        <li><a href="#">管理首页</a></li>
        <li><a href="#">我的终端</a></li>
        <li><a href="mydevice.html">设备开发</a></li>
        <li><a href="#">产品开发</a></li>
        <li><a href="account.html">账户</a></li>
    </ul>
</div>
<div id="second">
    <div class="left">
        <ul>
            <li><a href="add_device.html">创建新设备</a></li>
            <li><a href="mydevice.html">我的设备</a></li>
            <li><a href="#">设备动作</a></li>
        </ul>
    </div>
    <div id="right">
        <h2>设备管理</h2>
        <hr/>
        <div id="back">
            <div id="back_front">
                <div class="left">
                    <img src="../../../css/images/xixi.png" id="pic1"/>
                    <div id="rightTheImg">
                        <div class="title"></div>
                        <div class="box2 deviceId box">
                            <font class="span">设备ID：</font>
                            <span id="deviceId_content" style="display: inline-block;"></span>
                        </div>
                        <div class="box3">设备详情：<a class="details" href="devices.html">查看详情</a></div>
                    </div>
                </div>
                <div id="right_r">
                    <a href="#">部署</a>
                    <a href="edit_device.html" class="edit">编辑</a>
                </div>
            </div>
        </div>
        <div id="sensor">
            <a href="add_sensor.html" id="addSensor">添加传感器</a>
            <div id="sensorList">

            </div>
        </div>

        <div id="oprate">
            <div id="oprate_left" class="oprate"><</div>
            <div id="oprate_middle" class="oprate">1</div>
            <div id="orate_right" class="oprate">></div></div>
    </div>
</div>

<div class="template" style="display:none;">
    <!--传感器节点-->
    <div class="sensorContainer" data-id>
        <div class="sensorListLeft">
            <div class="sensorName">
                <div class="sensorNameLeft">123</div>
                <div class="sensorNameRight">数据型</div>
            </div>
            <div class="sensorID">
                <div class="sensorIDLeft">传感器ID：</div>
                <div class="sensorIDRight data-id">123456</div>
            </div>
            <div class="sensorAddress">
                <div class="sensorAddressLeft">地址：</div>
                <div class="sensorAddressRight"> <a href="#">查看详情</a></div>
            </div>
            <div class="link">
                <a class="linkOne" href="edit_sensor.html">编辑</a>
                <a class="linkTwo">删除</a>
            </div>
        </div>
        <div class="sensorListRight on-off hide">
            <button type="button" class="openButton">开</button>
        </div>
    </div>
</div>
</body>
</html>
